package com.link_with_health.model;

import java.sql.Timestamp;
import java.util.ArrayList;

public class AdminUserEntity {
    private Integer adminID;
    private String adminPW;
    private String adminName;
    private String phone;
    private String email;
    private Integer authority;
    private Integer creator;
    private Timestamp createTime;
    private Timestamp updateTime;

    public AdminUserEntity() {
    }

    public AdminUserEntity(Integer adminID, String adminPW
            , String adminName, String phone
            , String email, Integer authority
            , Integer creator
            , Timestamp createTime
            , Timestamp updateTime) {
        this.adminID = adminID;
        this.adminPW = adminPW;
        this.adminName = adminName;
        this.phone = phone;
        this.email = email;
        this.authority = authority;
        this.creator = creator;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getAdminID() {
        return adminID;
    }

    public void setAdminID(Integer adminID) {
        this.adminID = adminID;
    }

    public String getAdminPW() {
        return adminPW;
    }

    public void setAdminPW(String adminPW) {
        this.adminPW = adminPW;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getAuthority() {
        return authority;
    }

    public void setAuthority(Integer authority) {
        this.authority = authority;
    }

    public Integer getCreator() {
        return creator;
    }

    public void setCreator(Integer creator) {
        this.creator = creator;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "AdminUserEntity{" +
                "adminID=" + adminID +
                ", adminPW='" + adminPW + '\'' +
                ", adminName='" + adminName + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", authority=" + authority +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
